package cn.tedu._03vehicle.mapper;

import cn.tedu._03vehicle.pojo.entity.Vehicle;
import cn.tedu._03vehicle.pojo.vo.ListVehicleVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VehicleMapper {
    int insertVehicle(Vehicle vehicle);

    List<ListVehicleVO> listVehicle(@Param("userId") Long userId, @Param("brand") String brand, @Param("license") String license);

    int deleteVehicle(@Param("id") Long id,@Param("userId") Long userId);
}
